import instance, { buildOptions } from './index'

export async function SessionList(data: any) {
    const options = buildOptions(data, "hr/bailian/reply_list", "GET");
    return instance(options);
}

export async function ChangeSession(data: any) {
    const options = buildOptions(data, "hr/bailian/edit_reply");
    return instance(options);
}

export async function DelSession(data: any) {
    const options = buildOptions(data, "hr/bailian/delete_reply");
    return instance(options);
}

export async function SessionInfo(data: any) {
    const options = buildOptions(data, "hr/bailian/ai_log_list", "GET");
    return instance(options);
}

export async function QuestionList() {
    const options = buildOptions('', "hr/bailian/question_list", "GET");
    return instance(options);
}


export async function SaveLog(data: any) {
    const options = buildOptions(data, "hr/bailian/save_log");
    return instance(options);
}